<?php class testAction extends sfAction{
	public function execute($request){
		#echo 'hacking'; die;
		$arr = Doctrine_Query::create()
			->from('Candidates c')
			->select('id, full_name, remark, updated_at, register_date, created_at, phone_number')
			->where('year(date_of_birth) = ?', '0000')
			->andWhere('is_deleted = 0')->fetchArray();
			$this->setVar('data', $arr);
		#die;
	}
}?>